-- GENERATED SPELL FOR [Scourge Soldier] --


function spell0_8523(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8523', 616, 1)
end

function Sorts_8523(pUnit, Event)
local choix_sorts_8523 = math.random(0, 0)
if choix_sorts_8523 == 0 then
pUnit:RegisterEvent('spell0_8523', 1, 1)
end
end

function mob8523_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8523', math.random(1500, 3000), 1)
end

function mob8523_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8523_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8523_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8523, 1, 'mob8523_Action')
RegisterUnitEvent(8523, 2, 'mob8523_Leave')
RegisterUnitEvent(8523, 3, 'mob8523_Kill')
RegisterUnitEvent(8523, 4, 'mob8523_Die')
